if exists(select name from sysobjects where name = 'sp_YouTubeGetInfo')
	drop proc sp_YouTubeGetInfo
go
/*-- =============================================
	Created by: HP
	Created on: 2014-04-22 (dd/mm/yyyy)
	Description: 
	--

	File:$sql-scripts/Proc.sp_YouTubeGetInfo.sql
*/-- =============================================

CREATE PROCEDURE sp_YouTubeGetInfo
			
	@YouTubeId		INT
AS
BEGIN	
	SELECT
		a.[YouTubeId],
		a.[Name],
		a.[Images],
		a.[Icon],
		a.[Link],
		a.[ThuTu],
		a.[TrangThai],
		a.[NgayTao]
	FROM
		YouTube a
	WHERE
		    a.[YouTubeId] = @YouTubeId;
END
GO
